package  com.pcbly.web.business.publicinfo;
/**
* @author carl.song
* Copyright (c) 2010 Lightsoft, International.
* All rights reserved.
*
*/

import com.pcbly.web.bean.publicinfo.ArticleCommentBean;
import com.pcbly.web.business.BaseService;
import com.pcbly.web.components.hibernate.support.Page;

public interface ArticleCommentService extends BaseService<ArticleCommentBean> {

	ArticleCommentBean getArticleCommentBeanById(String id) throws Exception;
	
	void removeArticleCommentBeanById(String id) throws Exception;
	
	void removeArticleCommentBeanByIds(String ids) throws Exception;
	
	ArticleCommentBean saveArticleCommentBean(ArticleCommentBean publicinfo) throws Exception;
	
	ArticleCommentBean updateArticleCommentBean(ArticleCommentBean publicinfo) throws Exception;
	
	Page<ArticleCommentBean>  findArticleCommentBeanByCond(ArticleCommentBean bean,
			Page<ArticleCommentBean> page, String orderByName, boolean asc)
			throws Exception;
	void saveArticleCommentBeanExt(String sql) throws Exception;

	String findArticleCommentBeanExtCreate(String tableName) throws Exception;

	String findArticleCommentBeanExtEdit(String tableName, String id)
			throws Exception;

	String findArticleCommentBeanExtView(String tableName, String id)
			throws Exception;

	boolean getHasArticleCommentBeanExtData(String tableName, String id)
			throws Exception;
}